package com.ruoyi.mdkt.service.impl;

import com.ruoyi.mdkt.entity.Teacher;
import com.ruoyi.mdkt.mapper.TeacherMapper;
import com.ruoyi.mdkt.service.TeacherService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author gwl
 * @since 2022-10-22
 */
@Service
public class TeacherServiceImpl extends ServiceImpl<TeacherMapper, Teacher> implements TeacherService {
    @Autowired
    private TeacherMapper teacherMapper;

    @Override
    public Map<String, Object> getAllStudentToMap() {
        Map<String, Object> allStudentToMap = teacherMapper.getAllStudentToMap();
        return allStudentToMap;
    }
}
